<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Parent')}:</label>
        <div class="col-xs-12 col-sm-8">
        <select id="c-pid"  class="form-control selectpicker" name="row[pid]">
            {foreach name="all_distribution_info_parent_arr" item="vo"}
            <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
            {/foreach}
        </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Distribution_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-distribution_name" class="form-control" name="row[distribution_name]" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Children_consumption_rebate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-children_consumption_rebate" class="form-control" name="row[children_consumption_rebate]" type="number">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Distribution_proportion')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-distribution_proportion" class="form-control" name="row[distribution_proportion]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fixed_reward')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fixed_reward" class="form-control" name="row[fixed_reward]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weighted_share')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weighted_share" class="form-control" name="row[weighted_share]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Promotion_conditions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-promotion_conditions" class="form-control" name="row[promotion_conditions]" type="number">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
